# 异或规则：0 ^ 0 = 0, 0 ^ 1 = 1, 1 ^ 0 = 1, 1 ^ 1 = 0
print(1 ^ 1)


# 取反规则：~x = -(x + 1)
print(~1)
